//
// GPSMapEdit
// (c) Konstantin Galichsky (kg@infratel.com), 2002-2004
//
// MapDekode file loader.
// NOTE: the code is incomplete.
//

# include "StdAfx.h"
# include "Load.h"

class CDbxLoader : public CMapLoader {
  public:
	// Override.
	virtual bool IsValid (const char * _pData, size_t _cFileSize) const;
	virtual LoadStatus_t Load (const char * _pData, size_t _cFileSize, const char * _strFileName, map_t * _pMap);
};

//DECLARE_MAP_LOADER (CDbxLoader, "mapdekode-dbx", "dbx", "MapDekode format (*.dbx)");

bool CDbxLoader::IsValid (const char * _pData, size_t _cFileSize) const {
	return true;
}

LoadStatus_t CDbxLoader::Load (const char * _pData, size_t _cFileSize, const char * _strFileName, map_t * _pMap) {
	// TODO:
	return lsFailed;
}
